#ifndef DEVICE_INFO_H
#define DEVICE_INFO_H

#include "GatewayInfo.h"

class DeviceInfo
{
public:
    DeviceInfo() = default;
    DeviceInfo(const GatewayInfo &gateway, uint8_t id) : gateway(gateway), id(id) {}

    GatewayInfo getGatewayInfo() const { return gateway; }
    void setGatewayInfo(const GatewayInfo &gatewayInfo) { this->gateway = gatewayInfo; }

    uint8_t getId() const { return id; }
    void setId(uint8_t id) { this->id = id; }

private:
    GatewayInfo gateway;
    uint8_t id;
};

#endif //DEVICE_INFO_H